package com.me.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.me.service.impl.TestServiceImpl;

@FeignClient(value = "WZN", fallback = TestServiceImpl.class)  //value=服务名，fallback=断路由类
public interface TestService {
	@GetMapping(value = "/add")
	String hiService(@RequestParam(value = "name") String name);
}
